<template>
  <div class="section-left">
    <div class="left-nav">
      <h2>产品与服务</h2>
      <el-menu :default-active="$route.path" class="el-menu-vertical-demo" :unique-opened="true" :router="true" @select="handleSelect">
        <sidebar-item></sidebar-item>
      </el-menu>
    </div>
  </div>
  </div>
</template>

<script>
export default {
  name: 'section-left',
  data () {
    return {
    }
  },
  methods: {
    handleOpen (key, keyPath) {
      console.log(key, keyPath)
    },
    handleClose (key, keyPath) {
      console.log(key, keyPath)
    },
    handleSelect (key, keyPath) {
      console.log(key, keyPath)
    }
  }
}
</script>

<style lang="css" scoped>
  .section-left{
    flex: 0 0 240px;
    width: 240px;
    background: #fff;
  }
</style>
